package com.hmdp.entity;

import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;


import java.io.Serializable;
import java.time.LocalDateTime;


@Data
@TableName("event_table")
public class Ticket implements Serializable {
    @TableId(value = "EventID")
    private Long eventId;

    @TableField(value = "EventName")
    private String eventName;

    @TableField(value = "EventDate")
    private LocalDateTime eventDate;

    @TableField(value = "DeadLineTime")
    private LocalDateTime deadLineTime;

    @TableField(value = "EventLocation")
    private String eventLocation;

    @TableField(value = "Description")
    private String description;

    @TableField(value = "TicketPrice")
    private Long ticketPrice;

    @TableField(value = "TicketStock")
    private Integer ticketStock;

    @TableField(value = "CreatTime ")
    private LocalDateTime createTime;

    @TableField(value = "UpdateTime ")
    private LocalDateTime updateTime;

    @TableField(value = "SoftDelete ")
    private Integer softDelete;

}
